package com.css.dzj.dzjap.modules.info.service;

import com.css.dzj.dzjap.modules.info.entity.ApExpertEntity;
import com.querydsl.core.QueryResults;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

import java.util.List;


public interface ExpertService {

   QueryResults<ApExpertEntity> getPage(
           Pageable pageRequest, String expertName, String  expertIdcard, String startTime,String endTime, String expertLevl,String isBlackList, String expertTel);

   boolean delExpert(String id);

   ApExpertEntity findById(String id);

   void update(ApExpertEntity apExpertEntity);

   void save(ApExpertEntity apExpertEntity);

   List<ApExpertEntity> listExpert(String level,String major,String unitName,String location,String provienceOutIn);

   ApExpertEntity findByIdCard(String idCard);

   /***
    * 更新黑名单状态
    * @param type
    * @param IdCard
    */
   void updateBlack(String type,String IdCard);



}

